package com.gec.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gec.pojo.Users;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<Users> {

    List<Users> getUser();

    Integer addUser(Users users);

    Integer deleteUser(Integer id);

    Users queryById(Integer id);

    Integer update(Users users);
}
